let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start"),
                    Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.AiController = void 0);
                var n = (function() {
                    function t(t) {
                        (this._actor = t),
                        (this._nodes = {}),
                        (this._running = !1),
                        this.resetCheckTime(),
                            this.init();
                    }
                    return (
                        (t.prototype.resetCheckTime = function() {
                            this._checkTime = t.CheckTime;
                        }),
                        (t.prototype.init = function() {}),
                        (t.prototype.start = function() {
                            this._running = !0;
                        }),
                        (t.prototype.stop = function() {
                            this._running = !1;
                        }),
                        Object.defineProperty(t.prototype, 'actor', {
                            get: function get() {
                                return this._actor;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (t.prototype.getNode = function(t) {
                            return this._nodes ? this._nodes[t] : null;
                        }),
                        (t.prototype.setRoot = function(t) {
                            this._root = this.getNode(t);
                        }),
                        (t.prototype.add = function(t) {
                            var e = new t(this);
                            return (this._nodes[t.TYPE] = e), e;
                        }),
                        (t.prototype.update = function(t) {
                            this._running &&
                                (this._checkTime -= t) < 0 &&
                                (this.resetCheckTime(), this._root && this._root.update(t));
                        }),
                        (t.prototype.invoke = function(t, e) {
                            void 0 === e && (e = 0);
                            var o = this.getNode(t);
                            o && o.update(e);
                        }),
                        (t.prototype.destroy = function() {
                            for (var t in this._nodes) {
                                var e = this._nodes[t];
                                e && e.destroy();
                            }
                            (this._actor = null), (this._nodes = null);
                        }),
                        (t.CheckTime = 0.1),
                        t
                    );
                })();
                (o.AiController = n), console.log("end");
            module.exports =  e.exports;